<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>xilsecure: XSecure_Rsa Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">xilsecure
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;"
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('struct_x_secure___rsa.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">XSecure_Rsa Struct Reference<div class="ingroups"><a class="el" href="group__xsecure__rsa__server__apis.html">Xilsecure RSA Server APIs</a> &#124; <a class="el" href="group__xsecure__rsa__zynqmp__apis.html">XilSecure RSA ZynqMP APIs</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>The RSA driver instance data structure.
 <a href="struct_x_secure___rsa.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a43f0c9f61e8826ec3d3622ec3d2a166e"><td class="memItemLeft" align="right" valign="top">UINTPTR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_secure___rsa.html#a43f0c9f61e8826ec3d3622ec3d2a166e">BaseAddress</a></td></tr>
<tr class="memdesc:a43f0c9f61e8826ec3d3622ec3d2a166e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device Base Address.  <a href="#a43f0c9f61e8826ec3d3622ec3d2a166e">More...</a><br/></td></tr>
<tr class="separator:a43f0c9f61e8826ec3d3622ec3d2a166e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3cdc9b2018fd40f262355873a2a1b39"><td class="memItemLeft" align="right" valign="top">u64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_secure___rsa.html#af3cdc9b2018fd40f262355873a2a1b39">ModAddr</a></td></tr>
<tr class="memdesc:af3cdc9b2018fd40f262355873a2a1b39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Modulus.  <a href="#af3cdc9b2018fd40f262355873a2a1b39">More...</a><br/></td></tr>
<tr class="separator:af3cdc9b2018fd40f262355873a2a1b39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8193b491caa2c772737ebf90823338c3"><td class="memItemLeft" align="right" valign="top">u64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_secure___rsa.html#a8193b491caa2c772737ebf90823338c3">ModExtAddr</a></td></tr>
<tr class="memdesc:a8193b491caa2c772737ebf90823338c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Precalc.  <a href="#a8193b491caa2c772737ebf90823338c3">More...</a><br/></td></tr>
<tr class="separator:a8193b491caa2c772737ebf90823338c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1962b2e4f9b304470a695e3d5274cff"><td class="memItemLeft" align="right" valign="top">u64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_secure___rsa.html#af1962b2e4f9b304470a695e3d5274cff">ModExpoAddr</a></td></tr>
<tr class="memdesc:af1962b2e4f9b304470a695e3d5274cff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Exponent.  <a href="#af1962b2e4f9b304470a695e3d5274cff">More...</a><br/></td></tr>
<tr class="separator:af1962b2e4f9b304470a695e3d5274cff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3448138023856a4306b5c7cc2c55dbd8"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_secure___rsa.html#a3448138023856a4306b5c7cc2c55dbd8">EncDec</a></td></tr>
<tr class="memdesc:a3448138023856a4306b5c7cc2c55dbd8"><td class="mdescLeft">&#160;</td><td class="mdescRight">0 for signature verification and 1 for generation  <a href="#a3448138023856a4306b5c7cc2c55dbd8">More...</a><br/></td></tr>
<tr class="separator:a3448138023856a4306b5c7cc2c55dbd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a624a335d5d428b0affa26f286f46fc1a"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_secure___rsa.html#a624a335d5d428b0affa26f286f46fc1a">SizeInWords</a></td></tr>
<tr class="memdesc:a624a335d5d428b0affa26f286f46fc1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">RSA key size in words.  <a href="#a624a335d5d428b0affa26f286f46fc1a">More...</a><br/></td></tr>
<tr class="separator:a624a335d5d428b0affa26f286f46fc1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7603af531481b15be95ab6cf74a2dda6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__xsecure__rsa__server__apis.html#ga82451ab88c04cf87f08d6ca4a6e500fe">XSecure_RsaState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_secure___rsa.html#a7603af531481b15be95ab6cf74a2dda6">RsaState</a></td></tr>
<tr class="memdesc:a7603af531481b15be95ab6cf74a2dda6"><td class="mdescLeft">&#160;</td><td class="mdescRight">RSA State.  <a href="#a7603af531481b15be95ab6cf74a2dda6">More...</a><br/></td></tr>
<tr class="separator:a7603af531481b15be95ab6cf74a2dda6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5f1a94bbfba6f2e14f681b55884c378"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_secure___rsa.html#ac5f1a94bbfba6f2e14f681b55884c378">BaseAddress</a></td></tr>
<tr class="memdesc:ac5f1a94bbfba6f2e14f681b55884c378"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device Base Address.  <a href="#ac5f1a94bbfba6f2e14f681b55884c378">More...</a><br/></td></tr>
<tr class="separator:ac5f1a94bbfba6f2e14f681b55884c378"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a025de108e57abdfadb4964fac57a0a9f"><td class="memItemLeft" align="right" valign="top">u8 *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_secure___rsa.html#a025de108e57abdfadb4964fac57a0a9f">Mod</a></td></tr>
<tr class="memdesc:a025de108e57abdfadb4964fac57a0a9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Modulus.  <a href="#a025de108e57abdfadb4964fac57a0a9f">More...</a><br/></td></tr>
<tr class="separator:a025de108e57abdfadb4964fac57a0a9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a583c17e11e2eaf4c5eff1376d10b47fe"><td class="memItemLeft" align="right" valign="top">u8 *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_secure___rsa.html#a583c17e11e2eaf4c5eff1376d10b47fe">ModExt</a></td></tr>
<tr class="memdesc:a583c17e11e2eaf4c5eff1376d10b47fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Precalc.  <a href="#a583c17e11e2eaf4c5eff1376d10b47fe">More...</a><br/></td></tr>
<tr class="separator:a583c17e11e2eaf4c5eff1376d10b47fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3207b6dd8efa8fa08e253b6b79ecd6f"><td class="memItemLeft" align="right" valign="top">u8 *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_secure___rsa.html#ae3207b6dd8efa8fa08e253b6b79ecd6f">ModExpo</a></td></tr>
<tr class="memdesc:ae3207b6dd8efa8fa08e253b6b79ecd6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Exponent.  <a href="#ae3207b6dd8efa8fa08e253b6b79ecd6f">More...</a><br/></td></tr>
<tr class="separator:ae3207b6dd8efa8fa08e253b6b79ecd6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The RSA driver instance data structure. </p>
<p>A pointer to an instance data structure is passed around by functions to refer to a specific driver instance. </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a43f0c9f61e8826ec3d3622ec3d2a166e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UINTPTR XSecure_Rsa::BaseAddress</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device Base Address. </p>

<p>Referenced by <a class="el" href="group__xsecure__rsa__zynqmp__apis.html#gaa7dd5cb6143f1767dbfce0cee845f014">XSecure_RsaCfgInitialize()</a>, <a class="el" href="group__xsecure__rsa__server__apis.html#ga3c38edd112fb7b6799153ab9eabba178">XSecure_RsaOperation()</a>, and <a class="el" href="group__xsecure__rsa__server__apis.html#ga7c621f0e66a73464aefc9c725cb1b2b1">XSecure_RsaZeroize()</a>.</p>

</div>
</div>
<a class="anchor" id="ac5f1a94bbfba6f2e14f681b55884c378"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XSecure_Rsa::BaseAddress</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device Base Address. </p>

</div>
</div>
<a class="anchor" id="a3448138023856a4306b5c7cc2c55dbd8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XSecure_Rsa::EncDec</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>0 for signature verification and 1 for generation </p>

<p>Referenced by <a class="el" href="group__xsecure__rsa__server__apis.html#ga3c38edd112fb7b6799153ab9eabba178">XSecure_RsaOperation()</a>.</p>

</div>
</div>
<a class="anchor" id="a025de108e57abdfadb4964fac57a0a9f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8* XSecure_Rsa::Mod</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Modulus. </p>

<p>Referenced by <a class="el" href="group__xsecure__rsa__server__apis.html#gaed24e77892a61d31d934ec519c9a8d92">XSecure_RsaInitialize_64Bit()</a>, <a class="el" href="group__xsecure__rsa__server__apis.html#ga955d5211bd63a9325ec0a93f9c49eaef">XSecure_RsaPrivateDecrypt_64Bit()</a>, and <a class="el" href="group__xsecure__kat__server__apis.html#gaeef1675ed072c8187d88b630df7204c3">XSecure_RsaPwct()</a>.</p>

</div>
</div>
<a class="anchor" id="af3cdc9b2018fd40f262355873a2a1b39"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u64 XSecure_Rsa::ModAddr</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Modulus. </p>

<p>Referenced by <a class="el" href="group__xsecure__rsa__server__apis.html#gaed24e77892a61d31d934ec519c9a8d92">XSecure_RsaInitialize_64Bit()</a>, and <a class="el" href="group__xsecure__rsa__server__apis.html#ga955d5211bd63a9325ec0a93f9c49eaef">XSecure_RsaPrivateDecrypt_64Bit()</a>.</p>

</div>
</div>
<a class="anchor" id="ae3207b6dd8efa8fa08e253b6b79ecd6f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8* XSecure_Rsa::ModExpo</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Exponent. </p>

<p>Referenced by <a class="el" href="group__xsecure__rsa__server__apis.html#gaed24e77892a61d31d934ec519c9a8d92">XSecure_RsaInitialize_64Bit()</a>, <a class="el" href="group__xsecure__rsa__server__apis.html#ga955d5211bd63a9325ec0a93f9c49eaef">XSecure_RsaPrivateDecrypt_64Bit()</a>, and <a class="el" href="group__xsecure__rsa__server__apis.html#gafc7c87fceab6593e002f7e3b9e15fccc">XSecure_RsaPublicEncrypt_64Bit()</a>.</p>

</div>
</div>
<a class="anchor" id="af1962b2e4f9b304470a695e3d5274cff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u64 XSecure_Rsa::ModExpoAddr</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Exponent. </p>

<p>Referenced by <a class="el" href="group__xsecure__rsa__server__apis.html#gaed24e77892a61d31d934ec519c9a8d92">XSecure_RsaInitialize_64Bit()</a>, <a class="el" href="group__xsecure__rsa__server__apis.html#ga955d5211bd63a9325ec0a93f9c49eaef">XSecure_RsaPrivateDecrypt_64Bit()</a>, and <a class="el" href="group__xsecure__rsa__server__apis.html#gafc7c87fceab6593e002f7e3b9e15fccc">XSecure_RsaPublicEncrypt_64Bit()</a>.</p>

</div>
</div>
<a class="anchor" id="a583c17e11e2eaf4c5eff1376d10b47fe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8* XSecure_Rsa::ModExt</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Precalc. </p>
<p>R sq. mod N </p>

<p>Referenced by <a class="el" href="group__xsecure__rsa__server__apis.html#gaed24e77892a61d31d934ec519c9a8d92">XSecure_RsaInitialize_64Bit()</a>, and <a class="el" href="group__xsecure__rsa__zynqmp__apis.html#gad8a4ee12fff481e5d2c7fa5cc8256652">XSecure_RsaOperation()</a>.</p>

</div>
</div>
<a class="anchor" id="a8193b491caa2c772737ebf90823338c3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u64 XSecure_Rsa::ModExtAddr</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Precalc. </p>
<p>R sq. mod N </p>

<p>Referenced by <a class="el" href="group__xsecure__rsa__server__apis.html#gaed24e77892a61d31d934ec519c9a8d92">XSecure_RsaInitialize_64Bit()</a>, and <a class="el" href="group__xsecure__rsa__server__apis.html#ga3c38edd112fb7b6799153ab9eabba178">XSecure_RsaOperation()</a>.</p>

</div>
</div>
<a class="anchor" id="a7603af531481b15be95ab6cf74a2dda6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__xsecure__rsa__server__apis.html#ga82451ab88c04cf87f08d6ca4a6e500fe">XSecure_RsaState</a> XSecure_Rsa::RsaState</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>RSA State. </p>
<p>RSA key size in words. </p>

<p>Referenced by <a class="el" href="group__xsecure__rsa__server__apis.html#gaed24e77892a61d31d934ec519c9a8d92">XSecure_RsaInitialize_64Bit()</a>, <a class="el" href="group__xsecure__rsa__server__apis.html#ga955d5211bd63a9325ec0a93f9c49eaef">XSecure_RsaPrivateDecrypt_64Bit()</a>, and <a class="el" href="group__xsecure__rsa__server__apis.html#gafc7c87fceab6593e002f7e3b9e15fccc">XSecure_RsaPublicEncrypt_64Bit()</a>.</p>

</div>
</div>
<a class="anchor" id="a624a335d5d428b0affa26f286f46fc1a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XSecure_Rsa::SizeInWords</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>RSA key size in words. </p>

<p>Referenced by <a class="el" href="group__xsecure__rsa__server__apis.html#gaed24e77892a61d31d934ec519c9a8d92">XSecure_RsaInitialize_64Bit()</a>, and <a class="el" href="group__xsecure__rsa__server__apis.html#ga3c38edd112fb7b6799153ab9eabba178">XSecure_RsaOperation()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
